package org.shop.weixin.pojo;

/*
 * Copyright 2005-2013 shopxx.net. All rights reserved.
 * Support: http://www.shopxx.net
 * License: http://www.shopxx.net/license
 */


import java.util.Date;


/**
 * Entity -
 *
 * @author
 * @version 3.0
 */

public class WxBill {


    /**
	 *
	 */
	private static final long serialVersionUID = 4508577415581082117L;

	   /** ID */
    private Long id;

    /** 创建日期 */
    private Date createDate;

    /** 修改日期 */
    private Date modifyDate;
    
	/**交易时间 */
  private  String tradetime ;

	/** 公众账号ID*/
	private String ghid;

	/** 商户号*/
	private String mchid;

	/** 子商户号 */
	private String submch;

	/** 设备号 */
	private String deviceid;

	/** 微信订单号 */
	private String wxorder;

	/**商户订单号 */
	private String bzorder;

	/** 用户标识 */
	private String openid;

	/**交易类型*/
	private String tradetype;

	/** 交易状态 */
	private String tradestatus;

	/**付款银行*/
	private String bank;

	/** 货币种类*/
	private String currency;

	/** 总金额*/
	private String totalmoney;

	/** 代金券或立减优惠金额 */
	private String redpacketmoney;

	/** 微信退款单号 */
	private String wxrefund;

	/** 商户退款单号 */
	private String bzrefund;

	/**退款金额 */
	private String refundmoney;

	/** 代金券或立减优惠退款金额 */
	private String redpacketrefund;

	/**退款类型*/
	private String refundtype;

	/** 退款状态*/
	private String refundstatus;

	/**商品名称*/
	private String productname;

	/**商户数据包*/
	private String bzdatapacket;

	/** 手续费*/
	private String fee;

	/**费率*/
	private String rate;


	public WxBill() {
		super();
	}

	public WxBill(String tradetime, String ghid, String mchid, String submch,
			String deviceid, String wxorder, String bzorder, String openid,
			String tradetype, String tradestatus, String bank, String currency,
			String totalmoney, String redpacketmoney, String wxrefund,
			String bzrefund, String refundmoney, String redpacketrefund,
			String refundtype, String refundstatus, String productname,
			String bzdatapacket, String fee, String rate) {
		super();
		this.tradetime = tradetime;
		this.ghid = ghid;
		this.mchid = mchid;
		this.submch = submch;
		this.deviceid = deviceid;
		this.wxorder = wxorder;
		this.bzorder = bzorder;
		this.openid = openid;
		this.tradetype = tradetype;
		this.tradestatus = tradestatus;
		this.bank = bank;
		this.currency = currency;
		this.totalmoney = totalmoney;
		this.redpacketmoney = redpacketmoney;
		this.wxrefund = wxrefund;
		this.bzrefund = bzrefund;
		this.refundmoney = refundmoney;
		this.redpacketrefund = redpacketrefund;
		this.refundtype = refundtype;
		this.refundstatus = refundstatus;
		this.productname = productname;
		this.bzdatapacket = bzdatapacket;
		this.fee = fee;
		this.rate = rate;
	}

	public String getTradetime() {
		return tradetime;
	}

	public void setTradetime(String tradetime) {
		this.tradetime = tradetime;
	}

	public String getGhid() {
		return ghid;
	}

	public void setGhid(String ghid) {
		this.ghid = ghid;
	}

	public String getMchid() {
		return mchid;
	}

	public void setMchid(String mchid) {
		this.mchid = mchid;
	}

	public String getSubmch() {
		return submch;
	}

	public void setSubmch(String submch) {
		this.submch = submch;
	}

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public String getWxorder() {
		return wxorder;
	}

	public void setWxorder(String wxorder) {
		this.wxorder = wxorder;
	}

	public String getBzorder() {
		return bzorder;
	}

	public void setBzorder(String bzorder) {
		this.bzorder = bzorder;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getTradetype() {
		return tradetype;
	}

	public void setTradetype(String tradetype) {
		this.tradetype = tradetype;
	}

	public String getTradestatus() {
		return tradestatus;
	}

	public void setTradestatus(String tradestatus) {
		this.tradestatus = tradestatus;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getTotalmoney() {
		return totalmoney;
	}

	public void setTotalmoney(String totalmoney) {
		this.totalmoney = totalmoney;
	}

	public String getRedpacketmoney() {
		return redpacketmoney;
	}

	public void setRedpacketmoney(String redpacketmoney) {
		this.redpacketmoney = redpacketmoney;
	}

	public String getWxrefund() {
		return wxrefund;
	}

	public void setWxrefund(String wxrefund) {
		this.wxrefund = wxrefund;
	}

	public String getBzrefund() {
		return bzrefund;
	}

	public void setBzrefund(String bzrefund) {
		this.bzrefund = bzrefund;
	}

	public String getRefundmoney() {
		return refundmoney;
	}

	public void setRefundmoney(String refundmoney) {
		this.refundmoney = refundmoney;
	}

	public String getRedpacketrefund() {
		return redpacketrefund;
	}

	public void setRedpacketrefund(String redpacketrefund) {
		this.redpacketrefund = redpacketrefund;
	}

	public String getRefundtype() {
		return refundtype;
	}

	public void setRefundtype(String refundtype) {
		this.refundtype = refundtype;
	}

	public String getRefundstatus() {
		return refundstatus;
	}

	public void setRefundstatus(String refundstatus) {
		this.refundstatus = refundstatus;
	}

	public String getProductname() {
		return productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public String getBzdatapacket() {
		return bzdatapacket;
	}

	public void setBzdatapacket(String bzdatapacket) {
		this.bzdatapacket = bzdatapacket;
	}

	public String getFee() {
		return fee;
	}

	public void setFee(String fee) {
		this.fee = fee;
	}

	public String getRate() {
		return rate;
	}

	public void setRate(String rate) {
		this.rate = rate;
	}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }



}